package model

import "nearby/biz/model/vo"

type (
	GetCommentsRequest struct {
		Limit      int64  `form:"limit" json:"limit"`
		Offset     int64  `form:"offset" json:"offset"`
		EntityType string `form:"entity_type" json:"entity_type" binding:"required"`
		EntityID   string `form:"entity_id" json:"entity_id" binding:"required"`
	}

	GetCommentsResponse struct {
		Meta     Meta          `json:"meta"`
		Comments []*vo.Comment `json:"comments"`
		Total    int64         `json:"total"`
	}
)
